@extends('user.layouts.layout')
@section('title', '我的商户')
@section('content')

    <div class="grid md:grid-cols-3 grid-cols-1 gap-4">
        @foreach($merchants as $merchant)
            @include('user.merchants._merchant', ['merchant' => $merchant])
        @endforeach
    </div>
@endsection

@section('afterScript')
    <script>
        $(function () {
            $('.copy-text').on('click', function () {
                $.copy({
                    content:$(this).data('text')
                });
            });
        });
    </script>
@endsection
